package com.study.algorithm.base.graph.model;

/**
 * Graph Edge
 *
 * @author wanghuilong
 * @version 1.0
 * @date 2022/8/4 8:48 下午
 */
public class GraphEdge {

    public int weight;

    public GraphNode from;

    public GraphNode to;

    public GraphEdge(int weight, GraphNode from, GraphNode to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }
}
